/*
 * @Description: 取消上车提醒的弹窗
 * @Author: yingying.fan
 * @Date: 2019-05-27 18:51:39
 * @Last Modified by: yingying.fan
 * @Last Modified time: 2019-05-27 19:24:17
 */
<template>
  <div
    @click.self.stop="hide"
    class="pop-wrapper"
  >
    <div class="flex-h flex-vc flex-hsb">
      车辆到站提醒
      <span @click.stop.prevent="unAttentionStation">取消</span>
    </div>
    <p class="pop-triangle"></p>
  </div>
</template>

<script>
export default {
  methods: {
    unAttentionStation() {
      this.$emit('unattentioncurrentctation')
    },
    hide() {
      this.$emit('hide')
    }
  }
}
</script>

<style scoped>
.pop-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  /* background-color: rgba(0, 0, 0, 0.2); */
}
.pop-wrapper > div {
  position: absolute;
  bottom: 134px;
  right: 8px;
  z-index: 12;
  min-width: 317px;
  height: 90px;
  background-color: #e8eced;
  background-size: 325px 110px;
  box-sizing: border-box;
  padding: 0 0 0 20px;
  border-radius: 8px;
  font-size: 14px; /*no*/
  line-height: 20px; /*no*/
  color: #ff8b41;
}
.pop-wrapper span {
  color: #999999;
  padding: 24px 20px 24px 50px;
}
.pop-triangle {
  position: absolute;
  right: 55px;
  bottom: 98px;
  width: 0;
  height: 0;
  border-width: 20px;
  border-style: solid;
  border-color: #e8eced transparent transparent transparent;
}
</style>
